.class public final Lcom/adwhirl/h;
.super Ljava/lang/Object;
.source "AdWhirlTargeting.java"


# static fields
.field private static a:Z

.field private static b:Lcom/adwhirl/i;

.field private static c:Ljava/util/GregorianCalendar;

.field private static d:Ljava/lang/String;

.field private static e:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    .prologue
    .line 34
    invoke-static {}, Lcom/adwhirl/h;->h()V

    .line 35
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 26
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 53
    return-void
.end method

.method public static a(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 102
    sput-object p0, Lcom/adwhirl/h;->e:Ljava/lang/String;

    .line 103
    return-void
.end method

.method public static a()Z
    .locals 1

    .prologue
    .line 46
    sget-boolean v0, Lcom/adwhirl/h;->a:Z

    return v0
.end method

.method public static b()V
    .locals 1

    .prologue
    .line 50
    const/4 v0, 0x0

    sput-boolean v0, Lcom/adwhirl/h;->a:Z

    .line 51
    return-void
.end method

.method public static c()Lcom/adwhirl/i;
    .locals 1

    .prologue
    .line 58
    sget-object v0, Lcom/adwhirl/h;->b:Lcom/adwhirl/i;

    return-object v0
.end method

.method public static d()I
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 70
    sget-object v0, Lcom/adwhirl/h;->c:Ljava/util/GregorianCalendar;

    if-eqz v0, :cond_0

    .line 71
    invoke-static {}, Ljava/util/GregorianCalendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/util/Calendar;->get(I)I

    move-result v0

    sget-object v1, Lcom/adwhirl/h;->c:Ljava/util/GregorianCalendar;

    invoke-virtual {v1, v2}, Ljava/util/GregorianCalendar;->get(I)I

    move-result v1

    sub-int/2addr v0, v1

    .line 74
    :goto_0
    return v0

    :cond_0
    const/4 v0, -0x1

    goto :goto_0
.end method

.method public static e()Ljava/util/GregorianCalendar;
    .locals 1

    .prologue
    .line 78
    sget-object v0, Lcom/adwhirl/h;->c:Ljava/util/GregorianCalendar;

    return-object v0
.end method

.method public static f()Ljava/lang/String;
    .locals 1

    .prologue
    .line 98
    sget-object v0, Lcom/adwhirl/h;->e:Ljava/lang/String;

    return-object v0
.end method

.method public static g()Ljava/util/Set;
    .locals 5

    .prologue
    .line 106
    sget-object v0, Lcom/adwhirl/h;->e:Ljava/lang/String;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    .line 111
    :goto_0
    return-object v0

    .line 107
    :cond_0
    sget-object v0, Lcom/adwhirl/h;->e:Ljava/lang/String;

    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    .line 108
    new-instance v1, Ljava/util/HashSet;

    invoke-direct {v1}, Ljava/util/HashSet;-><init>()V

    .line 109
    array-length v2, v0

    const/4 v3, 0x0

    :goto_1
    if-ge v3, v2, :cond_1

    aget-object v4, v0, v3

    .line 110
    invoke-virtual {v1, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    .line 109
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_1
    move-object v0, v1

    .line 111
    goto :goto_0
.end method

.method private static h()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 38
    const/4 v0, 0x0

    sput-boolean v0, Lcom/adwhirl/h;->a:Z

    .line 39
    sget-object v0, Lcom/adwhirl/i;->a:Lcom/adwhirl/i;

    sput-object v0, Lcom/adwhirl/h;->b:Lcom/adwhirl/i;

    .line 40
    sput-object v1, Lcom/adwhirl/h;->c:Ljava/util/GregorianCalendar;

    .line 41
    sput-object v1, Lcom/adwhirl/h;->d:Ljava/lang/String;

    .line 42
    sput-object v1, Lcom/adwhirl/h;->e:Ljava/lang/String;

    .line 43
    return-void
.end method
